package com.lalfa.helloworld.web;

import com.lalfa.core.web.StrutsEntityAction;
import com.lalfa.helloworld.model.User;
import com.lalfa.helloworld.service.UserManager;

/**
 * 用户管理Controller.
 * <p/>
 * 继承于StrutsEntityAction，不需编码就拥有默认的对User对象的CRUD响应函数. 如果想了解不继承于EntityAction,自行编写CRUD的写法, 参考{@link UserActionNativeVersion}.
 *
 * @author calvin
 * @see com.lalfa.core.web.StrutsEntityAction
 * @see com.lalfa.core.web.StrutsAction
 * @see UserActionNativeVersion
 */
public class UserAction extends StrutsEntityAction<User, UserManager> {

	@SuppressWarnings("unused")
	private UserManager userManager;

	public void setUserManager(UserManager userManager) {
		this.userManager = userManager;
	}
}
